package com.sq.util.bean;

public class JsonBean {

    private String aa;

    private int bb;

    public JsonBean() {
        super();
    }

    public JsonBean(String aa, int bb) {
        super();
        this.aa = aa;
        this.bb = bb;
    }

    public String getAa() {
        return aa;
    }

    public void setAa(String aa) {
        this.aa = aa;
    }

    public int getBb() {
        return bb;
    }

    public void setBb(int bb) {
        this.bb = bb;
    }

    @Override
    public String toString() {
        return "JsonBean [aa=" + aa + ", bb=" + bb + "]";
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((aa == null) ? 0 : aa.hashCode());
        result = prime * result + bb;
        return result;
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        JsonBean other = (JsonBean) obj;
        if (aa == null) {
            if (other.aa != null)
                return false;
        } else if (!aa.equals(other.aa))
            return false;
        if (bb != other.bb)
            return false;
        return true;
    }

}
